package com.example.droideep.fragment;


import android.graphics.drawable.Drawable;
import android.graphics.drawable.StateListDrawable;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.droideep.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class CalendarCardPagerFragment extends Fragment {


    public CalendarCardPagerFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_calendar_card_pager, container, false);
    }

    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        if (Build.VERSION.SDK_INT < 21) {
            Drawable drawable = getActivity().getResources().getDrawable(R.drawable.ic_action_add);
        } else {
            Drawable drawable = getActivity().getResources().getDrawable(R.drawable.ic_action_add, null);
        }

    }
}
